Vcenter VmTemplate LibraryItems CreatePlacementSpec
The Vcenter VmTemplate LibraryItems CreatePlacementSpec schema contains information used to place a virtual machine template onto resources within the vCenter inventory.
This schema was added in vSphere API 6.8.
{
"folder": "string",
"resource_pool": "string",
"host": "string",
"cluster": "string"
}
Virtual machine folder into which the virtual machine template should be placed.
This property was added in vSphere API 6.8.
If missing or null
, the virtual machine template will be placed in the same folder as the source virtual machine.
When clients pass a value of this schema as a parameter, the property must be an identifier for the resource type: Folder
. When operations return a value of this schema as a response, the property will be an identifier for the resource type: Folder
.
Resource pool into which the virtual machine template should be placed.
This property was added in vSphere API 6.8.
If missing or null
, the system will attempt to choose a suitable resource pool for the virtual machine template; if a resource pool cannot be chosen, the library item creation operation will fail.
When clients pass a value of this schema as a parameter, the property must be an identifier for the resource type: ResourcePool
. When operations return a value of this schema as a response, the property will be an identifier for the resource type: ResourcePool
.
Host onto which the virtual machine template should be placed. If host and resource_pool are both specified, resource_pool must belong to host. If host and cluster are both specified, host must be a member of cluster.
This property was added in vSphere API 6.8.
This property may be missing or null
if resource_pool or cluster is specified. If missing or null
, the system will attempt to choose a suitable host for the virtual machine template; if a host cannot be chosen, the library item creation operation will fail.
When clients pass a value of this schema as a parameter, the property must be an identifier for the resource type: HostSystem
. When operations return a value of this schema as a response, the property will be an identifier for the resource type: HostSystem
.
Cluster onto which the virtual machine template should be placed. If cluster and resource_pool are both specified, resource_pool must belong to cluster. If cluster and host are both specified, host must be a member of cluster.
This property was added in vSphere API 6.8.
If resource_pool or host is specified, it is recommended that this property be missing or null
.
When clients pass a value of this schema as a parameter, the property must be an identifier for the resource type: ClusterComputeResource
. When operations return a value of this schema as a response, the property will be an identifier for the resource type: ClusterComputeResource
.